" 基础功能测试

" 测试基本变量赋值
let x = 10
echo "x = " . x

" 测试基本运算
let y = x + 5
echo "x + 5 = " . y

" 测试字符串
let name = "viml"
echo "Hello " . name

" 测试条件语句
if x > 5
    echo "x is greater than 5"
else
    echo "x is not greater than 5"
endif

" 测试while循环
let counter = 0
while counter < 3
    echo "counter = " . counter
    let counter = counter + 1
endwhile

echo "基础功能测试完成"